<template>
  <el-main class="main">
    <Card></Card>
    <Observe></Observe>
    <Visit></Visit>
  </el-main>
</template>

<script>
import Card from "./Card";
import Observe from "./Observe";
import Visit from "./Visit";
export default {
  name: "home",
  components: {
    Card,
    Observe,
    Visit,
  },
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped>
.header {
  display: flex;
  justify-content: space-between;
  background-color: #23262e;
  h1 {
    font-size: 0px;
    .logo {
      height: 60px;
    }
  }
  .el-menu-demo {
    // display: flex;
    // align-items: center;
    .one {
      .avatar {
        width: 35px;
        height: 35px;
      }
      span {
        font-size: 12px;
        color: #fff;
      }
      .el-icon-arrow-down {
        color: #909399;
      }
    }
    .two {
      .el-icon-switch-button {
        color: #909399;
      }
      span {
        font-size: 12px;
        color: #fff;
      }
    }
  }
}
.aside {
  background-color: #23262e;
  .user-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    .avatar {
      width: 35px;
      height: 35px;
      padding-right: 15px;
    }
    span {
      font-size: 12px;
      color: #fff;
    }
  }
  // ::v-deep .el-menu {
  //   height: 10vh;
  // }
  .el-menu {
    height: 100vh;
    border-right: none;
  }
}
.main {
  padding: 20px;
  background-color: #f2f2f2;
}
.footer {
  background-color: #eee;
  text-align: center;
  line-height: 60px;
}
</style>
